/**
* 作者: lichuan
* 日期: 2025-07-08 09:23:50
* 备注: 高级签到战令奖励表
*/
package com.motu.monstercity.server.game.commondata.act;

import io.vertx.core.json.JsonObject;

public class DailyPassRewardModel {
	protected int id; // id
	protected int groupId; // 期数
	protected int day; // 天数
	protected String reward1; // 普通奖励
	protected String reward2; // 高级奖励

	public DailyPassRewardModel() {
	}

	public DailyPassRewardModel(JsonObject obj) {
		id = obj.containsKey("id") ? obj.getInteger("id") : 0;
		groupId = obj.containsKey("group_id") ? obj.getInteger("group_id") : 0;
		day = obj.containsKey("day") ? obj.getInteger("day") : 0;
		reward1 = obj.containsKey("reward1") ? obj.getString("reward1") : "";
		reward2 = obj.containsKey("reward2") ? obj.getString("reward2") : "";
	}

	public int getId() {
		return id;
	}

	public int getGroupId() {
		return groupId;
	}

	public int getDay() {
		return day;
	}

	public String getReward1() {
		return reward1;
	}

	public String getReward2() {
		return reward2;
	}

}
